package com.ccsu.joysport.repository;

import com.ccsu.joysport.entity.StudentActivity;
import com.ccsu.joysport.entity.student;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Optional;

@Repository
public interface StudentRepository extends JpaRepository<student, String> {

    List<student> findBystudentNumberIn(List<String> studentNumIds);
    Optional<student> findByStudentNumber(String studentId);

    boolean existsByStudentNumberAndName(String studentNumber, String name);
}
